//==============================================================================
// barracks_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic none/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge1
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G ConstructionBarracks
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge2
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G ConstructionBarracks
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge3
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G ConstructionBarracks
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim heal
{
   SetSelector
   {
      TechLogic none/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge1
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G Construction Medium B
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge2
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G Construction Medium B
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building X HospitalAge3
		        connect righthand CypressA hotspot
                        connect leftfoot CypressA hotspot
                        connect rightfoot CypressB hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building G Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint g_Long_Brick hotspot
				connect face g_Long_Brick hotspot
				connect chin g_Medium_Brick hotspot
				connect leftfoot g_Medium_Brick hotspot
				connect lefthand g_Small_Brick hotspot
				connect leftleg g_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building X HospitalAge1_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 3--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building X HospitalAge2_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 4--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building X HospitalAge3_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}
